package wms.service.goods;

import java.util.List;

import wms.entity.Goods;

public interface GoodsService {
	List<Goods> listAllGoodsWithParam(String goodsName, String goodsCode, Integer type,
			Integer startPage, Integer pageSize) throws Exception;
	
	Goods getGoods(String goodsCode) throws Exception;
	
	boolean modifyGoods(Goods goods, String operator) throws Exception;
	
	boolean deleteGoods(String goodsCode) throws Exception;
	
	int getTotalCount(String goodsName, String goodsCode, Integer type) throws Exception;
	
	List<Goods> listGoodsWithSupplyCode(String supplyCode) throws Exception;
	
	List<Goods> listGoodsWithRepoCode(String repoCode) throws Exception;
}
